-- GENERATED SPELL FOR [Squire Danny] --


function spell0_33518(pUnit, Event) --@Force Cast,n/a--
pUnit:FullCastSpellOnTarget(63171,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_33518', 608, 1)
end

function spell1_33518(pUnit, Event) --@Force Cast,n/a--
pUnit:FullCastSpellOnTarget(63172,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_33518', 691, 1)
end

function Sorts_33518(pUnit, Event)
local choix_sorts_33518 = math.random(0, 1)
if choix_sorts_33518 == 0 then
pUnit:RegisterEvent('spell0_33518', 1, 1)
end
if choix_sorts_33518 == 1 then
pUnit:RegisterEvent('spell1_33518', 1, 1)
end
end

function mob33518_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_33518', math.random(1500, 3000), 1)
end

function mob33518_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob33518_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob33518_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(33518, 1, 'mob33518_Action')
RegisterUnitEvent(33518, 2, 'mob33518_Leave')
RegisterUnitEvent(33518, 3, 'mob33518_Kill')
RegisterUnitEvent(33518, 4, 'mob33518_Die')
